package com.wwm.springcloud.userservice.dao;

import com.wwm.springcloud.userservice.bean.PortalUser;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Component;

@Component
@Mapper
public interface PortalUserDao
{
    int insertUser(PortalUser user);
    int updateUser(PortalUser user);
    PortalUser findUserByName(String username);
}